<%-- 
    Document   : registrarPatrocinador
    Created on : 17/01/2010, 09:43:14 PM
    Author     : Davis
--%>

<%@include file="../include/html_1.jsp"%>
<%-- Aqui se pone el titulo de la pagina --%>
<title>Comercio Electronico - Registrar Usuario</title>
<%@include file="../include/cabecera_1.jsp"%>

        
        <style type="text/css">
#s5_mainbackmiddle {
	width:950px;}

#s5_topback {
	width:926px;}

#s5_bottomtop {
	width:926px;}

#s5_bottommiddle {
	width:926px;}

#s5_maininner {
	width:904px;}

#s5_footer {
	width:950px;}

#s5_topleftbottom {
	width:926px;}

#s5_mainbody {
	width:632px;}
</style>

<div id="s5_background">
    <div id="s5_topbackground">
	<!--- wrapper, includes main menu, logo, search and top menu -->
        <div id="s5_topback">
            <div id="s5_topleft">
                <div id="s5_topblock">
                    <div id="s5_logo" style="cursor:pointer;" onclick="window.document.location.href='#'">
                        <embed height="76" width="312" flashvars="width=252&amp;height=118&amp;wmode=transparent" wmode="transparent" allowfullscreen="true" quality="high" name="mediaplayer" id="mediaplayer" style="" src="<%=request.getContextPath()%>/flash/banner.swf" type="application/x-shockwave-flash" /> 

                    </div>
                </div>

            </div>

            <div id="s5_topright">
                <div id="s5_topblock">
                    <div id="s5_search">
                        <div class="moduletable">

                        <form action="#" method="get">
                            <div class="search">
                                    <input name="searchword" id="mod_search_searchword" maxlength="20" alt="search" class="inputbox" type="text" size="20" value="search..."  onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
                            </div>
                            <input type="hidden" name="option" value="com_search" />
                            <input type="hidden" name="Itemid" value="5" />
                        </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
	<!--- Menu superior -->
       <%@include file="../include/menu_sup.jsp"%>

    </div>

    <div class="clear:both;"></div>
    <div id="s5_topbackbottombar"/>
</div>
<div id="s5_mainbodywrapper">

    <div id="s5_mainbackmiddle">
			<div id="s5_maininnerleft"></div><!-- Raya costado izquierdo-->
			<div id="s5_maininner"><!-- Aqui comienza el medio-->


				<div id="s5_bottommiddle">

					<!-- ********************************** -->



                                      <div style="float:left;height:19px;width:100%;"></div>

					<div id="s5_bottomwrap">


						<div id="s5_user7_100">
							<div id="s5_user789_left">

									<div class="module">
			<div>
				<div>
					<div>
                                          
                                            <div id="index">
                
                <form action="LlenaCatalogo" method="post" style="padding:10px" >
                    <fieldset class="caja" >
                        <legend>Registrar Empresa en cat&aacute;logo</legend>
                        <% 
                        if((String)request.getAttribute("Registrado") != null){
                        
                        request.setAttribute("Registrado",null);
                        %>
                            <% String empresa =  (String)request.getAttribute("empresa");
                                request.setAttribute("empresa",null);
                                if(empresa != null){%>
                                    <span style="color:green;font-size:14px;">Empresa <%=empresa%> Registrada</span>
                            <%    }else{ %>
                                    <span style="color:green;font-size:14px;">Empresa Registrada</span>
                            <%}
                            %>
                            
                        </p>
                        <%}%>
                        <div class="llenar" style="width:100%">
                            <div style="width:100%;margin:5px">
                                <label >
                                    <span style="float:left;width:200px">Razon Social</span>
                                </label>
                                <span class="validacion" style="text-align:center">
                                    <input type="text" name="razsocial" id="razsocial" style="display:block" size="50"/>
                                    <script type="text/javascript">
                                    var usuario = new LiveValidation('razsocial', { validMessage: '', wait: 400});
                                    usuario.add(Validate.Presence, {failureMessage: "Campo Vacio!"});
                                    usuario.add( Validate.Length, { minimum: 3 } );        /* , maximum: 8*/
                                    </script>
                                </span>
                            </div>
                            
                            <div style="width:80%;margin:5px">
                                <label >
                                    <span style="float:left;width:200px">Responsable</span>
                                </label>
                                <span class="validacion" style="">
                                   <input type="text" name="responsable" id="responsable" style="display:block" size="50"/>
                                    <script type="text/javascript">
                                    var password = new LiveValidation('responsable', { validMessage: '', wait: 400});
                                    password.add(Validate.Presence, {failureMessage: "Campo Vacio!"});
                                    </script>
                                </span>
                            </div>
                            
                            <div style="width:80%;margin:5px" size="50">
                                 <span style="float:left;width:200px">Rubro</span>
                                 <span class="validacion">
                                 <select name="rubro" class="miclase" style="display:block" >
                                    <option value="1">Desarrollo Software</option>
                                    <option value="2">Fabricacion</option>
                                    <option value="3">Cosultoria</option>                                
                                    <option value="4">Otro</option>   
                                </select>
                            </span>
                            </div>
                                          
                              <div style="width:80%;margin:5px">
                                 <label >
                                    <span style="float:left;width:200px">Telefono</span>
                                </label>
                                <span class="validacion">
                                <input type="text" name="telefono" id="telefono" style="display:block" size="50"/>
                                    <script type="text/javascript">
                                    var password = new LiveValidation('telefono', { validMessage: '', wait: 400});
                                    password.add(Validate.Presence, {failureMessage: "Campo Vacio!"});
                                    </script>
                                 </span>
                                
                            </div>
                            
                            <div style="width:80%;margin:5px">    
                                <span style="float:left;width:200px">Descripcion</span>
                                <span class="validacion">
                                <input type="text" name="descripcion" id="descripcion" style="display:block" size="50"/>
                                    <script type="text/javascript">
                                    var usuario = new LiveValidation('descripcion', { validMessage: '', wait: 400});
                                    usuario.add(Validate.Presence, {failureMessage: "Campo Vacio!"});
                                    usuario.add( Validate.Length, { minimum: 3 } );        /* , maximum: 8*/
                                    </script>
                                </span>
                            </div>
                             <div style="width:80%;margin:5px">    
                                <span style="float:left;width:200px">Monto Necesario    S./</span>
                                <span class="validacion">
                                 <input type="text" name="monto" id="monto" style="display:block" size="50"/>
                                    <script type="text/javascript">
                                    var usuario = new LiveValidation('monto', { validMessage: '', wait: 400});
                                    usuario.add(Validate.Presence, {failureMessage: "Campo Vacio!"});
                                    usuario.add( Validate.Length, { minimum: 3 } );        /* , maximum: 8*/
                                    </script>
                                </span>
                            </div>
                            <div style="width:80%;margin:5px">    
                                <span style="float:left;width:200px">Producto</span>
                                <span class="validacion">
                                <input type="text" name="producto" id="producto" style="display:block" size="50"/>
                                    <script type="text/javascript">
                                    var usuario = new LiveValidation('producto', { validMessage: '', wait: 400});
                                    usuario.add(Validate.Presence, {failureMessage: "Campo Vacio!"});
                                    
                                    </script>
                                </span>
                            </div>
                            
                        
                        
                            
                        <div style="width:100%;text-align:center;float:left;margin-top:20px;margin-left:60px">
                            <button>Registrar</button>
                        </div>

                            
                        

                        <!--<div style="float:right;width:123px;height:160px;background-image : url(imagenes/candado_reflejado.png);background-repeat:no-repeat"-->
                          <!--img alt="llave" src="imagenes/candado.png" /-->
                        </div>
                        
                          
                       
                    </fieldset>
                </form>
            </div><!-- Cierra div index-->
         
                                        </div>

				</div>
			</div>
		</div>

						</div>
						</div>
							</div>


                                        <!-- ********************************** -->

    

            </div>
             <%@include file="../include/menu_derecha.jsp"%>
        </div><!-- Aqui termina el medio-->
    <div id="s5_maininnerright"/><!-- Raya derecha-->

    </div></div></div></div>



</div>
        </div><!--termina id="principal"-->
        <!--div id="s5_topbackbottombar"/-->
    </body>
</html>
